COMMON -----------------------------------------------------------------------------------------------------------
scene_type=stat_town
	; scene type=droid_battle_small, droid_battle_big, stat_town, race
camera_scene_limit_x=-29,40
camera_scene_limit_y=0.5,15.45
camera_scene_limit_z=-43,20
	; player moves limit by axes (min,max)
hero_position=-18.65,1.5,16.7,0,180,0
	; start position of player
camera_max_range=100
	; maximum distance displaying objects
actor_camera_range_min=1
	; minimum distance displaying objects
start_message=Task :|Enable flow cooler.|0,250,0|440
	; message on start=string 1 | string 2 | red, green, blue | time
entity_show_radius=1000
	; maximum distance showing objects (software)


ENVIRONMENT ----------------------------------------------------------------------------------------------------------
env_sun=sun,earth_sun_1
	; add environment sun, type earth_sun_1
env_fog=200,240,255,0,0,0,0.1,7000,16000
	; environment fog=max red, max green, max blue, min red, min green, min blue, intensity, start, end
env_back_color=120,120,120,0,0,0
	; environment back color=max red, max green, max blue, min red, min green, min blue
env_shadow=modulative,190,190,190,256,512,sun
	; environment shadow=type, max red, max green, max blue, range, texture size, sun name
env_weather=50:rain_normal_1,rain_normal_2,rain_normal_3,rain_weak_1
	; environment weather=chance in hour begin: wheather type 1, wheather type 2, wheather type 3...
ambient_color=120,120,120
	; ambient color=red, green, blue
fog=200,200,200,0.5,500,800
	; fog=red, green, blue, intensity, start, end
set_time=9,30
	; set day time on scene start=hour, minute
world_shadows=modulative,450,170,180,180,256
	; world_shadows=shadows type,range,col red,col green, col blue,texture size

OBJECTS -------------------------------------------------------------------------------------------------------------------------
object=twn_trade_house_2,7.7,-0.014,13.3,0,90,0,1,1,1,1,house_2
	; object=object type name, x, y, z, angle x, angle y, angle z, scale x, scale y, scale z, id name
add_bat_field_block=2,12,1;2,13,1
	; add battle field block for droid battle scene = x,y,state;x,y,state....
add_bat_field_block_array=2,3,6,8,1
	; add battle field block array for droid battle scene=min x,min y,max x, max y,state
set_cdrd_pos=light_raider_1,player,12,4,180,rnd_turn
	; set droid right in coords=droid type,army type,x,y,angle y,script type
object_group=mebel,-1,0,1,0,60,0,1,1,1,1
	; object group=group type,x,y,z,angle x,angle y,angle z,scale x,scale y,scale z,physic body
water_plane=flag_1,-13.5,1.83,-9.15,twn_flag_1.png,1,0.5,254,0,0
	; water_plane=type,x,y,z,texture name,texture repeat,scale,transparent,scroll x,scroll y
billboard_plane=flare_2.png,10,10,0,2,0,add
	; add billboard plane=texture name,width,height,x,y,z,alpha mode
sfx_bilboard=light_strike,lightstrike_1,0,2,1
	; add sfx bilboard=name,type,x,y,z
preload_obj_type=stone_piece_1,stone_piece_2,stone_piece_3.......
	; preloading object types=type 1,type 2,type 3......
add_npc=Xavier,14.03,0.04,8.37,0,-90,0
	; add npc=npc name,x,y,z,angle x,angle y,angle z

LIGHTS ----------------------------------------------------------------------------------------------------------
din_light=fire_light_1,23.6,1.1,-25.2
	; dinamic light=din. light type, x, y, z
light_point=-32.83,0.7,23.74,0,100,200,170,0.1,1
	; light_point=x, y, z, red, green, blue, range, attenuation, disable shadow
light_directional=-3.3,100.0,3.7,200,100,200,0,1,0,1
	; light_directional=x, y, z, red, green, blue, dir x, dir y, dir z, disable shadow
light_spot=12.024,1.27,-30.162,50,200,255,70,0,30,180,0,-1,0,1
	; light_spot=x, y, z, red, green, blue, range, attenuation, in radius, out radius, dir x, dir y, dir z, disable shadow

SOUNDS ----------------------------------------------------------------------------------------------------------
sound_hear_dist_koef=10
	; scale rank for sound hear distance
music_ambient=btl_ambient_1
	; fon music loop
ambient_sound=ambient_town_1
	; fon sound loop
sound_amb=scary_snd_1,6.5,1.6,24,3,0,close
	; sound_amb=sound name,x,y,z, radius, loop, activate type

EFFECTS ----------------------------------------------------------------------------------------------------------------------------
particle_emitter=golog_map_emit_1,-0.094,-21.878,62.575
	; add particle emitter=particle type,x,y,z
particle_effect=electro_sparks_1,11.37,0.4,-15.36,100,electro_spark_1
	; add particle effect=effect type,x,y,z,max delay,id name
effect_area=-1.5,0,-25.5,25,0,25,600,250,leaves_emiter_1;leaves_emiter_2;......
	; set effect area=center x,center y,center z,max size x,max size y,max size z,max delay,work time,effect type;.......
fog_group=gen_dust_1,0,6,0
	; add fog group=fog type,center x,center y,center z
fog_group_area=gen_dust_1,4,0,6,0,50,14,56
	; add fog group area=fog type,groups num,center x,center y,center z,max size x,max size y,max size z

SCRIPT ---------------------------------------------------------------------------------------------------------------------------
if=random,50
    ; some commands
endif
	; if=condition,parameter
comment_start/comment_end
	; start/end comments block
set_state=danger_lamp_2,1
	; set act object state=act object id name,state(0/1)
set_state_link=gnss_door_cntrl_6:gnss_door_3
	; set link between act objects=act object id name 1:act object id name 2
set_same_state_link=control_display_1:mech_tube_cilyndr_2,lt_panel_1,lt_panel_2.....
	; set same states between act objects=act object id name 1:act object id name 2,act object id name 2.....
add_obj_point=gen_lift_1:0,1.5,0
	; add handle point to act object=act object id name:x,y,z
link_particle_to_act_object=enchancer_control_1:ench_emit_1,-4.3,-4,0
	; add particle to act object=act object id name:particle name,x,y,z
link_spot_to_act_object=danger_lamp_1:red_danger_lamp_2,0,0,0
	; add spot light to act object=act object id name:light type,x,y,z
add_to_container=box_move_top_1:repair_box_1,2;battery_1,1;com_laser_battery_box_1,1
	; add items to act object container=act object id name:object type 1,object type 2,object type 3.....
add_to_container_rnd=chest_top_1:100:trd_itm_grenader,1;trd_itm_ananas,1;trd_itm_credits,20
	; add rnd items to act object container=act object id name:chance:object type 1,num;object type 2,num;...